package com.ruoyi.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.order.domain.OrderGoodsCombo;

import java.util.List;

/**
 * 订单卖品详情Service接口
 *
 * @author HHAOYU
 * @date 2021-01-12
 */
public interface IOrderGoodsComboService  extends IService<OrderGoodsCombo> {

    /**
     * 查询订单卖品详情
     *
     * @param id 订单卖品详情ID
     * @return 订单卖品详情
     */
    public OrderGoodsCombo selectOrderGoodsComboById(Long id);

    /**
     * 查询订单卖品详情列表
     *
     * @param orderGoodsCombo 订单卖品详情
     * @return 订单卖品详情集合
     */
    public List<OrderGoodsCombo> selectOrderGoodsComboList(OrderGoodsCombo orderGoodsCombo);

    /**
     * 新增订单卖品详情
     *
     * @param orderGoodsCombo 订单卖品详情
     * @return 结果
     */
    public int insertOrderGoodsCombo(OrderGoodsCombo orderGoodsCombo);

    /**
     * 修改订单卖品详情
     *
     * @param orderGoodsCombo 订单卖品详情
     * @return 结果
     */
    public int updateOrderGoodsCombo(OrderGoodsCombo orderGoodsCombo);

    /**
     * 批量删除订单卖品详情
     *
     * @param ids 需要删除的订单卖品详情ID
     * @return 结果
     */
    public int deleteOrderGoodsComboByIds(Long[] ids);

    /**
     * 删除订单卖品详情信息
     *
     * @param id 订单卖品详情ID
     * @return 结果
     */
    public int deleteOrderGoodsComboById(Long id);
}
